Enum ErrorCode

Internal errors to rdkafka are prefixed with _

Namespace:RdKafka
Assembly:cs.temp.dll.dll
Syntax
public enum ErrorCode

Fields

_ALL_BROKERS_DOWN

All broker connections are down.

Declaration
_ALL_BROKERS_DOWN = -187

_ASSIGN_PARTITIONS

Assigned partitions (rebalance_cb)

Declaration
_ASSIGN_PARTITIONS = -175

_AUTHENTICATION

Authentication failure

Declaration
_AUTHENTICATION = -169

_BAD_COMPRESSION

Bad/unknown compression

Declaration
_BAD_COMPRESSION = -198

_BAD_MSG

Received message is incorrect

Declaration
_BAD_MSG = -199

_BEGIN

Begin internal error codes

Declaration
_BEGIN = -200

_CONFLICT

Conflicting use

Declaration
_CONFLICT = -173

_CRIT_SYS_RESOURCE

Critical system resource

Declaration
_CRIT_SYS_RESOURCE = -194

_DESTROY

Broker is going away

Declaration
_DESTROY = -197

_END

End internal error codes

Declaration
_END = -100

_EXISTING_SUBSCRIPTION

This operation would interfere with an existing subscription

Declaration
_EXISTING_SUBSCRIPTION = -176

_FAIL

Generic failure

Declaration
_FAIL = -196

_FS

File or filesystem error

Declaration
_FS = -189

_IN_PROGRESS

Operation in progress

Declaration
_IN_PROGRESS = -178

_INVALID_ARG

Invalid argument, or invalid configuration

Declaration
_INVALID_ARG = -186

_ISR_INSUFF

ISR count < required.acks

Declaration
_ISR_INSUFF = -183

_MSG_TIMED_OUT

Produced message timed out

Declaration
_MSG_TIMED_OUT = -192

_NO_OFFSET

No stored offset

Declaration
_NO_OFFSET = -168

_NODE_UPDATE

Broker node update

Declaration
_NODE_UPDATE = -182

_NOT_IMPLEMENTED

Not implemented

Declaration
_NOT_IMPLEMENTED = -170

_PARTITION_EOF

Reached the end of the topic+partition queue on the broker. Not really an error.

Declaration
_PARTITION_EOF = -191

_PREV_IN_PROGRESS

Previous operation in progress, wait for it to finish.

Declaration
_PREV_IN_PROGRESS = -177

_QUEUE_FULL

Queue is full

Declaration
_QUEUE_FULL = -184

_RESOLVE

Failed to resolve broker

Declaration
_RESOLVE = -193

_REVOKE_PARTITIONS

Revoked partitions (rebalance_cb)

Declaration
_REVOKE_PARTITIONS = -174

_SSL

SSL error

Declaration
_SSL = -181

_STATE

Wrong state

Declaration
_STATE = -172

_TIMED_OUT

Operation timed out

Declaration
_TIMED_OUT = -185

_TRANSPORT

Broker transport failure

Declaration
_TRANSPORT = -195

_UNKNOWN_GROUP

Unknown client group

Declaration
_UNKNOWN_GROUP = -179

_UNKNOWN_PARTITION

Permanent: Partition does not exist in cluster.

Declaration
_UNKNOWN_PARTITION = -190

_UNKNOWN_PROTOCOL

Unknown protocol

Declaration
_UNKNOWN_PROTOCOL = -171

_UNKNOWN_TOPIC

Permanent: Topic does not exist in cluster.

Declaration
_UNKNOWN_TOPIC = -188

_WAIT_COORD

Waiting for coordinator to become available.

Declaration
_WAIT_COORD = -180

BROKER_NOT_AVAILABLE

Broker not available

Declaration
BROKER_NOT_AVAILABLE = 8

CLUSTER_AUTHORIZATION_FAILED

Cluster authorization failed

Declaration
CLUSTER_AUTHORIZATION_FAILED = 31

GROUP_AUTHORIZATION_FAILED

Group authorization failed

Declaration
GROUP_AUTHORIZATION_FAILED = 30

GROUP_COORDINATOR_NOT_AVAILABLE

Group coordinator not available

Declaration
GROUP_COORDINATOR_NOT_AVAILABLE = 15

GROUP_LOAD_IN_PROGRESS

Group coordinator load in progress

Declaration
GROUP_LOAD_IN_PROGRESS = 14

ILLEGAL_GENERATION

Specified group generation id is not valid

Declaration
ILLEGAL_GENERATION = 22

INCONSISTENT_GROUP_PROTOCOL

Inconsistent group protocol

Declaration
INCONSISTENT_GROUP_PROTOCOL = 23

INVALID_COMMIT_OFFSET_SIZE

Commit offset data size is not valid

Declaration
INVALID_COMMIT_OFFSET_SIZE = 28

INVALID_GROUP_ID

Invalid group.id

Declaration
INVALID_GROUP_ID = 24

INVALID_MSG

Invalid message

Declaration
INVALID_MSG = 2

INVALID_MSG_SIZE

Invalid message size

Declaration
INVALID_MSG_SIZE = 4

INVALID_REQUIRED_ACKS

Invalid required acks value

Declaration
INVALID_REQUIRED_ACKS = 21

INVALID_SESSION_TIMEOUT

Invalid session timeout

Declaration
INVALID_SESSION_TIMEOUT = 26

LEADER_NOT_AVAILABLE

Leader not available

Declaration
LEADER_NOT_AVAILABLE = 5

MSG_SIZE_TOO_LARGE

Message size too large

Declaration
MSG_SIZE_TOO_LARGE = 10

NETWORK_EXCEPTION

Broker disconnected before response received

Declaration
NETWORK_EXCEPTION = 13

NO_ERROR

Success

Declaration
NO_ERROR = 0

NOT_COORDINATOR_FOR_GROUP

Not coordinator for group

Declaration
NOT_COORDINATOR_FOR_GROUP = 16

NOT_ENOUGH_REPLICAS

Not enough in-sync replicas

Declaration
NOT_ENOUGH_REPLICAS = 19

NOT_ENOUGH_REPLICAS_AFTER_APPEND

Message(s) written to insufficient number of in-sync replicas

Declaration
NOT_ENOUGH_REPLICAS_AFTER_APPEND = 20

NOT_LEADER_FOR_PARTITION

Not leader for partition

Declaration
NOT_LEADER_FOR_PARTITION = 6

OFFSET_METADATA_TOO_LARGE

Offset metadata string too large

Declaration
OFFSET_METADATA_TOO_LARGE = 12

OFFSET_OUT_OF_RANGE

Offset out of range

Declaration
OFFSET_OUT_OF_RANGE = 1

REBALANCE_IN_PROGRESS

Group rebalance in progress

Declaration
REBALANCE_IN_PROGRESS = 27

RECORD_LIST_TOO_LARGE

Message batch larger than configured server segment size

Declaration
RECORD_LIST_TOO_LARGE = 18

REPLICA_NOT_AVAILABLE

Replica not available

Declaration
REPLICA_NOT_AVAILABLE = 9

REQUEST_TIMED_OUT

Request timed out

Declaration
REQUEST_TIMED_OUT = 7

STALE_CTRL_EPOCH

StaleControllerEpochCode

Declaration
STALE_CTRL_EPOCH = 11

TOPIC_AUTHORIZATION_FAILED

Topic authorization failed

Declaration
TOPIC_AUTHORIZATION_FAILED = 29

TOPIC_EXCEPTION

Invalid topic

Declaration
TOPIC_EXCEPTION = 17

UNKNOWN

Unknown broker error

Declaration
UNKNOWN = -1

UNKNOWN_MEMBER_ID

Unknown member

Declaration
UNKNOWN_MEMBER_ID = 25

UNKNOWN_TOPIC_OR_PART

Unknown topic or partition

Declaration
UNKNOWN_TOPIC_OR_PART = 3